<script setup>
import { useRoute } from 'vue-router'

const route = useRoute()
console.log(route.query.id)
</script>

<template>
  <div class="home-page">home页面</div>
</template>

<style scoped>
.home-page {
  width: 300px;
  height: 300px;
  border: 5px solid rgb(55, 0, 255);
}
</style>
